package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.AccountProxy;
	
	public class LoginCommand extends Command
	{
		public function LoginCommand()
		{
			super();
		}
		
		//--------------------------------------------------------------------------
		//
		//  Overridden Methods
		//
		//--------------------------------------------------------------------------
		
		override public function execute(notification:INotification):void
		{
			var loginProxy:AccountProxy = facade.retrieveProxy(AccountProxy.NAME) as AccountProxy;
			loginProxy.login();
		}
		
	}
}